﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TreeMap
{
	public class EntryNode
	{
		public string Category { get; set; }
		public string Value { get; set; }
		public List<EntryNode> Children { get; set; }
		public EntryNode Parent { get; set; }
		public int Points { get; set; }
		public float Importance { get; set; }

		public EntryNode()
		{
			this.Children = new List<EntryNode>();
		}

		public override string ToString()
		{
			return string.Format("{0} {1}", Category, Value);
		}
	}
}
